// console.log('ok')
import Vue from 'vue'

import VueRouter from 'vue-router'
Vue.use(VueRouter)

import axios from 'axios'
Vue.prototype.$http=axios
axios.defaults.baseURL = 'http://39.106.32.91:3000';

import MintUI from 'mint-ui'
import 'mint-ui/lib/style.css'
Vue.use(MintUI)


import './lib/mui/css/mui.css'
import './lib/mui/css/icons-extra.css'
import App from './components/App.vue'

import router from './router.js'

import moment from 'moment'
Vue.filter('dateFormat',function(val){
   return  moment(val).format('YYYY-MM-DD HH:mm:ss')
})

import VuePreview from 'vue2-preview'
Vue.use(VuePreview)

var vm=new Vue({
    el:'#app',
    render:c=>c(App),
    router
})